import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import "amfe-flexible";
import { createPinia } from "pinia";
// pinia持久化缓存插件
import piniaPersist from 'pinia-plugin-persist';
import NutUI from "@nutui/nutui";
import { IconFont } from '@nutui/icons-vue';
import "@nutui/nutui/dist/style.css";
import '@nutui/icons-vue/dist/style_iconfont.css';
const app = createApp(App);
const pinia = createPinia();
pinia.use(piniaPersist);
app.use(pinia)
app.use(NutUI)
app.use(IconFont)
app.use(router)
app.mount('#app')
